package com.winbomb.kingcard.framework;

import java.util.List;

import com.winbomb.kingcard.framework.Input.TouchEvent;

public abstract class Screen {

	protected final Game game;
	protected Graphics g;
	protected Audio audio;
	protected List<TouchEvent> touchEvents;

	public Screen(Game game) {
		this.game = game;
		this.g = game.getGraphics();
		this.audio = game.getAudio();
	}

	public void updateTouchEvents() {
		touchEvents = game.getInput().getTouchEvents();
		game.getInput().getKeyEvents();
	}

	public abstract void update(float deltaTime);

	public abstract void present(float deltaTime);

	public abstract void pause();

	public abstract void resume();

	public abstract void dispose();
}
